using Newtonsoft.Json;

namespace WebPrinter.Library.DaQu.Result
{
    /// <summary>
    /// 大趋标准响应结构体
    /// </summary>
    /// <typeparam name="T">响应业务数据</typeparam>
    public class ResponseResult<T>
    {
        [JsonProperty("code")]
        public string Code { get; set; }
        [JsonProperty("message")]
        public string Message { get; set; }
        [JsonProperty("data")]
        public T Data { get; set; }
        /// <summary>
        /// iv code 敏感数据加密进行aes时，有此值返回(Base64)
        /// </summary>
        [JsonProperty("iv")]
        public string Iv { get; set; }
    }
}